<?php
	session_start();
	require 'libs/seguridad.php';
	require 'libs/smarty-2.6.22/Smarty.class.php';
	require 'libs/db.php';
	require 'clases/Nota.class.php';
	
	$smarty = new Smarty;
	$notas = new Nota($db);
	$notas->setUsuarioId($_SESSION['id_usu']);
	$notas = $notas->getNotas();
	
	//$smarty->compile_check = true;
	//$smarty->debugging = true;
	$smarty->assign("notas",$notas);
	$smarty->display('modulos/notas.tpl');
?>